import type { XtxGuessInstance } from "@/types/component"
import { ref } from "vue"

/**
 *
 * 猜你喜欢组合式函数
 */
export const useGuessList = () => {
  // 获取猜你喜欢的组件实例
  const guessRef = ref<XtxGuessInstance>()

  const onScrolltolower = () => {
    guessRef.value.getMore()
  }
  // 返回
  return {
    guessRef,
    onScrolltolower,
  }
}
